-- GENERATED SPELL FOR [Berserk Owlbeast] --


function spell0_7454(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(8599,pUnit)
pUnit:RegisterEvent('Sorts_7454', 626, 1)
end

function Sorts_7454(pUnit, Event)
local choix_sorts_7454 = math.random(0, 0)
if choix_sorts_7454 == 0 then
pUnit:RegisterEvent('spell0_7454', 1, 1)
end
end

function mob7454_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7454', math.random(1500, 3000), 1)
end

function mob7454_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7454_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7454_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7454, 1, 'mob7454_Action')
RegisterUnitEvent(7454, 2, 'mob7454_Leave')
RegisterUnitEvent(7454, 3, 'mob7454_Kill')
RegisterUnitEvent(7454, 4, 'mob7454_Die')
